﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UcAsp.Net.IDAL
{
    public interface IDefinedCodeDAL
    {
        bool Delete(UcAsp.Net.Model.DefinedCode code);
        bool Insert(UcAsp.Net.Model.DefinedCode code);
        System.Collections.Generic.List<UcAsp.Net.Model.DefinedCode> Select();
        System.Collections.Generic.List<UcAsp.Net.Model.DefinedCode> SelectGroupType(string typename);
        bool Update(UcAsp.Net.Model.DefinedCode code);
        UcAsp.Net.Model.DefinedCode GetDefinedCodeName(int id);

        List<UcAsp.Net.Model.DefinedCode> Select(int pagesize, int pageindex, out int pagecount);
    }
}
